/**
 * package model is from
 */
package Model;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

/**
 * planet class to hold information of given planet in space trader system
 * @author Ben
 * @version 1
 */
public class Planet implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6501982756778229981L;

	/**
	 * the values of planets
	 */
	public int govType, techlvl, state;

	/**
	 * linked list of three planets for each solar system
	 */
	public List<Planet> planetList = new LinkedList<Planet>();
	
	/**
	 * planet constructor
	 * @param govType int representing the type of government
	 * @param techlvl int representing the tech level of the planet
	 * @param state int representing the current state of the plane
	 */
	public Planet(int govType, int techlvl, int state){
		this.govType = govType;
		this.techlvl = techlvl;
		this.state = state;
	}
	
	/**
	 * getter for govtype
	 * @return govType
	 */
	public int getGovType(){
		return govType;
	}
	
	/**
	 * getter for tech lvl
	 * @return techLvl
	 */
	public int getTechLvl(){
		return techlvl;
	}
	
	/**
	 * getter for state of planet
	 * @return the state of the planet
	 */
	public int getState(){
		return state;
	}
	
	/**
	 * @return string representation
	 */
	public String toString(){
		return "Planet yo";
	}
}